public class 降序<arr> {
    public class Test {

        public static void main(String[] args){
            int[] arr={9,8,0,1,5,3,2,6,4,10,15,11};
            System.out.print("排序前的数组为："); for (int num:arr){

            System.out.print(num+"");
        }

            System.out.println();

            for (int i=0;i <arr.length-1; i++){ for(int j = 0;j < arr.length -1 -i;
                int j;
                if (arr[j]>arr[j+1]){

                int temp=arr[j]; arr[j]=arr[j+1]; arr[j+1]=temp; }

            }
        }


            System.out.print("排序后的数组为：");
        for(int num ;arr);{

            boolean num = false;
            System.out.print(num+"");
        }


            }
    }
}